home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 January - Disc 2 / Macworld (1999-01) (Disk 2).dmg / Mac OS 8.5 Updaters / RealPC⁄Soft Windows / SoftWindows / SoftWindows Upgrade Disk / INSIGNIA / W95ONCE.BAT < prev    next >
Encoding:
DOS Batch File  |  1998-08-24  |  2.4 KB  |  77 lines

  1. @echo off
  2. @if not "%8" == "" echo %8
  3. rem [
  4. rem    Name:        u.w95once.bat
  5. rem
  6. rem    Derived from:    w95batch.bat
  7. rem
  8. rem    Author:        Bruce Godden
  9. rem
  10. rem    Created on:    Nov 1996
  11. rem
  12. rem    Sccs ID:    @(#)u.w95once.bat    1.12 09/11/97
  13. rem
  14. rem    Coding Stds:    
  15. rem
  16. rem    Purpose:    Second Windows 95 batch file. This file triggers the
  17. rem            process of updating Windows 95 with the Insignia
  18. rem            drivers. It runs from inside Windows.
  19. rem
  20. rem    Parameters:    1    host OS type i.e. "mac" or "unix"
  21. rem            2    new serial number (8 hex digits)
  22. rem            3    old serial number (8 hex digits)
  23. rem            4    Host System name
  24. rem            5    Host System release
  25. rem            6    Host System version
  26. rem            7    Host System hardware type
  27. rem            8    On/Off argument for echo
  28. rem            9    two-letter language ID
  29. rem
  30. rem    Copyright 1997 Insignia Solutions PLC. All rights reserved.
  31. rem ]
  32.  
  33. rem  Log the command line and the time of calling (cf. DOS phase of the update),
  34. rem  and append them to the history file.
  35. echo %0 %1 %2 %3 %4 %5 %6 %7 %8 %9    >>c:\insignia\up.log
  36. echo. | date                >>c:\insignia\up.log
  37. echo. | time                >>c:\insignia\up.log
  38. echo %0 %1 %2 %3 %4 %5 %6 %7 %8 %9    >>c:\insignia\uphist.log
  39. echo. | date                >>c:\insignia\uphist.log
  40. echo. | time                >>c:\insignia\uphist.log
  41.  
  42. echo Continuing to update your configuration. Please wait...
  43.  
  44. goto %1_only
  45.  
  46. :unix_only
  47. rem  SGI Japanese additional IE favourite.
  48. rem  SGI bits. From IRIX 6.4 "uname -s" irritatingly returns the version
  49. rem  appended to the OS name.
  50. ibatch os_name string %4 0 4
  51. if not "%os_name%" == "IRIX" goto no_nsg
  52. if not "%9" == "jp"   goto no_nsg
  53. echo [InternetShortcut]>        "c:\windows\favorites\Nihon Silicon Graphics.url"
  54. echo URL=http://www.sgi.co.jp/>>    "c:\windows\favorites\Nihon Silicon Graphics.url"
  55. rem  and remove the Mac-oriented SoftWindows URL
  56. del "c:\windows\favorites\SoftWindows Home Page.url"    >>c:\insignia\up.log
  57. call c:\windows\cit.bat >>c:\insignia\up.log
  58.  
  59. :no_nsg
  60. set os_name=
  61. goto all_hosts
  62.  
  63. :mac_only
  64. goto all_hosts
  65.  
  66. :all_hosts
  67.  
  68. REM  Patch VMM32.VXD now if Windows 95 is being installed on RealPC.
  69. REM  It was done earlier if we are upgrading Windows 95 (including SW95 1.0).
  70. REM  NOTE: if vmmpatch carries out the patch then we must force a reboot
  71. REM  at the end of this batch file (we still do so anyway as at 26/7/97).
  72. call vmmpatch new %2 %3 %1
  73.  
  74. start /w c:\insignia\win95lic
  75. echo Update complete. Please wait for system restart.
  76. exit
  77.